<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>PaleGem: IMesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PaleGem
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_i_mesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IMesh Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>PaleGem's proprietary mesh representation.  
 <a href="class_i_mesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_mesh_8h_source.html">IMesh.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for IMesh:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_i_mesh.png" usemap="#IMesh_map" alt=""/>
  <map id="IMesh_map" name="IMesh_map">
<area href="classpg_mesh.html" alt="pgMesh" shape="rect" coords="0,56,57,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1227ad691cc829ef540b3ff956019423"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a1227ad691cc829ef540b3ff956019423">~IMesh</a> ()</td></tr>
<tr class="separator:a1227ad691cc829ef540b3ff956019423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ac09054c73a9d1545caf6f57325a5c0"><td class="memItemLeft" align="right" valign="top">virtual ID3D11Buffer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a3ac09054c73a9d1545caf6f57325a5c0">GetVertexBuffer</a> ()=0</td></tr>
<tr class="separator:a3ac09054c73a9d1545caf6f57325a5c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8f4bec83a13ca2fd34acfa8dfd9546"><td class="memItemLeft" align="right" valign="top">virtual ID3D11Buffer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a8f8f4bec83a13ca2fd34acfa8dfd9546">GetIndexBuffer</a> ()=0</td></tr>
<tr class="separator:a8f8f4bec83a13ca2fd34acfa8dfd9546"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c9683d0afae7163b57e2787db8563c5"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a7c9683d0afae7163b57e2787db8563c5">GetIndexCount</a> ()=0</td></tr>
<tr class="separator:a7c9683d0afae7163b57e2787db8563c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cf593079693e566cb5900f1555b877a"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a6cf593079693e566cb5900f1555b877a">GetVertexCount</a> ()=0</td></tr>
<tr class="separator:a6cf593079693e566cb5900f1555b877a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e4c5399ef799ade53f059f143b6e81"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a62e4c5399ef799ade53f059f143b6e81">SetVertices</a> (<a class="el" href="struct_s_vertex.html">SVertex</a> *pVerts, int vertexCount)=0</td></tr>
<tr class="separator:a62e4c5399ef799ade53f059f143b6e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b407f85ec37aa62cb2593bac329a77c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a9b407f85ec37aa62cb2593bac329a77c">SetIndices</a> (WORD *pIndices, int indexCount)=0</td></tr>
<tr class="separator:a9b407f85ec37aa62cb2593bac329a77c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba02918f7c2f017f3f462a0e3234472a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="struct_s_vertex.html">SVertex</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#aba02918f7c2f017f3f462a0e3234472a">GetVertices</a> (int &amp;vertexCount)=0</td></tr>
<tr class="separator:aba02918f7c2f017f3f462a0e3234472a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb8a0607a80a88e8d931c4fd4d84e142"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="struct_s_vertex.html">SVertex</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#abb8a0607a80a88e8d931c4fd4d84e142">CopyVertices</a> (int &amp;vertexCount)=0</td></tr>
<tr class="separator:abb8a0607a80a88e8d931c4fd4d84e142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa03f067238d9c8763e44e07ac049102f"><td class="memItemLeft" align="right" valign="top">virtual WORD *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#aa03f067238d9c8763e44e07ac049102f">GetIndices</a> (int &amp;indexCount)=0</td></tr>
<tr class="separator:aa03f067238d9c8763e44e07ac049102f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1c78916ed5dc4dfb5d9cc98d6924701"><td class="memItemLeft" align="right" valign="top">virtual WORD *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#ab1c78916ed5dc4dfb5d9cc98d6924701">CopyIndices</a> (int &amp;indexCount)=0</td></tr>
<tr class="separator:ab1c78916ed5dc4dfb5d9cc98d6924701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e044cbe15ec3dd74ddec6a72b4f34d0"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_mesh.html#a1e044cbe15ec3dd74ddec6a72b4f34d0">CreateBuffers</a> ()=0</td></tr>
<tr class="memdesc:a1e044cbe15ec3dd74ddec6a72b4f34d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the DX Index and vertex buffers.  <a href="#a1e044cbe15ec3dd74ddec6a72b4f34d0">More...</a><br/></td></tr>
<tr class="separator:a1e044cbe15ec3dd74ddec6a72b4f34d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>PaleGem's proprietary mesh representation. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1227ad691cc829ef540b3ff956019423"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual IMesh::~IMesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab1c78916ed5dc4dfb5d9cc98d6924701"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual WORD* IMesh::CopyIndices </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>indexCount</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#ac16d89780fa415f05530974eca17e007">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="abb8a0607a80a88e8d931c4fd4d84e142"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="struct_s_vertex.html">SVertex</a>* IMesh::CopyVertices </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>vertexCount</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#ab551d6b24ab19f5825f2b233a1b524bb">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a1e044cbe15ec3dd74ddec6a72b4f34d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMesh::CreateBuffers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates the DX Index and vertex buffers. </p>
<p>Will use default cube if vertices or indices are faulty. </p>

<p>Implemented in <a class="el" href="classpg_mesh.html#aad829076f9fa41e305eb4b05987f2cdc">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a8f8f4bec83a13ca2fd34acfa8dfd9546"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ID3D11Buffer* IMesh::GetIndexBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#aa668e5a3d5d91d42d7d1732da68b5054">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a7c9683d0afae7163b57e2787db8563c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int IMesh::GetIndexCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#af5c0e4b2ab1e187592b8747cb72b8700">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="aa03f067238d9c8763e44e07ac049102f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual WORD* IMesh::GetIndices </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>indexCount</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#a05956ad8d08192a38acfb7470edfeb6c">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a3ac09054c73a9d1545caf6f57325a5c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ID3D11Buffer* IMesh::GetVertexBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#a8852a5d907d8afc3a03fc5b1ad6ba8cd">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a6cf593079693e566cb5900f1555b877a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int IMesh::GetVertexCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#ad549bf8d039ad93c6e8c995b6a9a5359">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="aba02918f7c2f017f3f462a0e3234472a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="struct_s_vertex.html">SVertex</a>* IMesh::GetVertices </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>vertexCount</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#ae53918923865eb1fcdd361ba0926b083">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a9b407f85ec37aa62cb2593bac329a77c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMesh::SetIndices </td>
          <td>(</td>
          <td class="paramtype">WORD *&#160;</td>
          <td class="paramname"><em>pIndices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indexCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#ad4d6e14a536742c39485337528565cd7">pgMesh</a>.</p>

</div>
</div>
<a class="anchor" id="a62e4c5399ef799ade53f059f143b6e81"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMesh::SetVertices </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_s_vertex.html">SVertex</a> *&#160;</td>
          <td class="paramname"><em>pVerts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>vertexCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classpg_mesh.html#a75852fef61bc02addb57843ed18ba202">pgMesh</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Inc/<a class="el" href="_i_mesh_8h_source.html">IMesh.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 1 2013 11:55:07 for PaleGem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
